Skip to content

fix: grant default SELECT privileges to reader role#452

Merged
MohcineTor merged 1 commit intomainfrom
mtor/fix-privileges
Mar 2, 2026
Merged

fix: grant default SELECT privileges to reader role#452
MohcineTor merged 1 commit intomainfrom
mtor/fix-privileges

Conversation

@MohcineTor
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the PostgreSQL schema initialization Kubernetes Job template to ensure the “reader” role can read tables created in a workspace schema by setting default privileges.

Changes:

  • Add an ALTER DEFAULT PRIVILEGES ... GRANT SELECT ON TABLES step for the reader role during schema initialization.
  • Add a success log line after setting default privileges.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Babylon/templates/working_dir/.templates/yaml/k8s_job.yaml
Comment thread Babylon/templates/working_dir/.templates/yaml/k8s_job.yaml
@MohcineTor MohcineTor merged commit dbf9fd4 into main Mar 2, 2026
11 checks passed
@MohcineTor MohcineTor deleted the mtor/fix-privileges branch March 2, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants